package com.example.client.controller;

import com.example.client.messageBoge.Producer;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

//消息的发送方
@RestController
public class SendMessageController {

    @RequestMapping("/output")
    public void outputmessage(){
        Producer producer=new Producer();
        producer.send();
    }


}

